package day8;

/**
 * @author oldliu
 * @since 1.0
 */
public class PrintThread extends Thread {
    public PrintThread(String name){
        super(name);
    }

    @Override
    public void run() {
         for (int i=1;i<=20;i++){
             System.out.println(super.getName()+" print "+i);
         }
    }
}
